import Vue from 'vue'
import VueRouter from 'vue-router'
Vue.use(VueRouter)

import Index from './index/index.vue'
import Cart from './cart/index.vue'
import Classify from './classify/index.vue'
import Me from './me/index.vue'
import Vip from './vip/index.vue'

const routes = [
  {
    path: '/index',
    component: Index
  },
  {
    path: '/cart',
    component: Cart
  },
  {
    path: '/classify',
    component: Classify
  },
  {
    path: '/me',
    component: Me
  },
  {
    path: '/vip',
    component: Vip
  }
]

export default new VueRouter({
  routes
})
